<h1 style='color:#06185B; font-size: 27px;'>News Update</h1>

<div>
<?php 
$news = Newsdao::GetListNewsUpdate(); 
for($i=0; $i< count($news);$i++)
{
?>
	<div class='news'>
		<div class='n-title' title='<?php echo $news[$i]->tieude; ?>'>
			<?php echo $news[$i]->tieude; ?>
		</div>
		<img  src="<?php echo MyConstans::getHostNewspath().$news[$i]->hinhanh; ?>"/>
		<div class='n-content'>
		<span style='font-weight: bold; color:red;'><?php echo date_format(new DateTime($news[$i]->ngaytao), "d-m-Y");?></span>
			<?php echo $news[$i]->noidung; ?>
		 </div>
	</div>
<?php 
 }
 ?>
</div>